package com.domain.service;

import com.domain.common.Result;

import java.io.IOException;

public interface PushMessageService {
    Result getPushMessageList(String userId, String pushType, String pageNum, String pageSize);

    Result addPublishiMessage(String pushUsersId, String pushUsersSendId, String pushContent, String pushTitle, String spareOne, String spare_three, String pushId, String userName);

    Result addSystemMessage(String pushUsersId, String pushUsersSendId, String pushContent, String pushTitle, String spareOne, String spare_three, String pushId, String userName);

    Result addAcknowledgeMessage(String pushUsersId, String pushUsersSendId, String pushContent, String pushTitle, String spareOne, String spare_three, String pushId, String usersName);

    Result changePushMessageState(String messageId);

    Result acceptancePushDetail(String pushMessageId) throws Exception;

    Result creatGroup(String usersId, String friendsId, String accpId, String publishId, String helpUsersId) throws IOException;

    Result getJoinGroupDetail(String pushMessageId);

    Result getMessageUnreadSize(String userId);

    Result joinGroup(String usersId, String groupId);

    Result getRedPacakge(String usersId, String pushMessageId);

    Result getAnserRedPacakge(String usersId, String pushMessageId);

}
